var pgyer = require('../');
let co = require('co');

var options = {
    aId: "c8fcae68fbdca0c5f1684d5f29365ac0",
    _api_key: "ec72a4b7e0d2170f6f1d5a20aaa3901a"
}
co(pgyer.getPgyerHistroy(options))
    .then(function (response) {
        console.log(JSON.parse(response.body));
    });
